import request from '@/utils/request'

const prefixUrl = 'web/companyMonth'

// 公司查询月度信息
export function queryCompanyMonthByMonth(params) {
  return request({
    url: prefixUrl + '/queryCompanyMonthByMonth',
    method: 'get',
    params
  })
}

// 公司查询下月目标数据
export function queryCompanyMonthPlanByMonth(params) {
  return request({
    url: prefixUrl + '/queryCompanyMonthPlanByMonth',
    method: 'get',
    params
  })
}

// 填写未成交原因
export function fillReasonsForNotCooperating(data) {
  return request({
    url: prefixUrl + '/fillReasonsForNotCooperating',
    method: 'post',
    content_type: 'json',
    data
  })
}

// 填写批注
export function fillAnnotation(params) {
  return request({
    url: prefixUrl + '/fillAnnotation',
    method: 'post',
    params
  })
}
